﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Spoergeskema.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Spørgeskema</title>
    <style type="text/css">
        body
        {
            text-align:center;
            
        }
        #wrapper
        {
            padding-top:100px;
            width:1000px;
            text-align:left;
            margin:0 auto;
        }
        ul
        {
            margin:0;
            padding-left:30px;
        }
    label
    {
        display:inline-block;
        width:80px;
    }
    .resultPanel
    {
        margin-bottom:30px;
    }
    div span
    {
        font-weight:bold;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="wrapper">
        <asp:MultiView runat="server" ID="MultiView1">
            <asp:View ID="view1" runat="server">
                <div>
                <asp:Label Text="Navn :" runat="server" ID="nameLabel" AssociatedControlID="name"></asp:Label>
                <asp:TextBox ID="name" runat="server"></asp:TextBox>
                </div>
                <div>
                <asp:Label Text="Adresse :" runat="server" ID="adressLabel" AssociatedControlID="adress"></asp:Label>
                <asp:TextBox ID="adress" runat="server"></asp:TextBox>
                </div>
                <div>
                <asp:Label Text="Telefon :" runat="server" ID="phoneLabel" AssociatedControlID="phone"></asp:Label>
                <asp:TextBox ID="phone" runat="server"></asp:TextBox>
                </div>
                <asp:Button Text="Send" runat="server" ID="viewOneSubmit" OnClick="ViewOneSubmit" />
            </asp:View>
            <asp:View ID="view2" runat="server">
                <p>Besvar venligst følgende spørgsmål:<br />Hvilken musik kategorier kan du godt lide</p>
                <div>
                <asp:Label Text="Rock :" runat="server" ID="rockLabel" AssociatedControlID="rock"></asp:Label>
                <asp:CheckBox ID="rock" runat="server" />
                </div>
                <div>
                <asp:Label Text="Pop :" runat="server" ID="popLabel" AssociatedControlID="adress"></asp:Label>
                <asp:CheckBox ID="pop" runat="server" />
                </div>
                <div>
                <asp:Label Text="Jazz :" runat="server" ID="jazzLabel" AssociatedControlID="jazz"></asp:Label>
                <asp:CheckBox ID="jazz" runat="server" />
                </div>
                <div>
                <asp:Label Text="R&B :" runat="server" ID="rAndBLabel" AssociatedControlID="rAndB"></asp:Label>
                <asp:CheckBox ID="rAndB" runat="server" />
                </div>
                <div>
                <asp:Label Text="Hip Hop :" runat="server" ID="hiphopLabel" AssociatedControlID="hiphop"></asp:Label>
                <asp:CheckBox ID="hiphop" runat="server" />
                </div>
                <div>
                <asp:Label Text="House :" runat="server" ID="houseLabel" AssociatedControlID="house"></asp:Label>
                <asp:CheckBox ID="house" runat="server" />
                </div>
                <div>
                <asp:Label Text="Techno :" runat="server" ID="technoLabel" AssociatedControlID="techno"></asp:Label>
                <asp:CheckBox ID="techno" runat="server" />
                </div>
                <asp:Button Text="Send" runat="server" ID="viewTwoSubmit" OnClick="ViewTwoSubmit" />
            </asp:View>
            <asp:View ID="view3" runat="server">
                <p>Hvor mange timer om ugen lytter du til musik?</p>
                <div>
                    <asp:RadioButtonList id="listenPrWeek" runat="server">
                       <asp:ListItem selected="true" Value="0 - 1 timer">0 - 1 timer</asp:ListItem>
                       <asp:ListItem Value="0 - 5 timer">1 - 5 timer</asp:ListItem>
                       <asp:ListItem Value="5 - 10 timer">5 - 10 timer</asp:ListItem>
                       <asp:ListItem Value="+ 10 timer">+ 10 timer</asp:ListItem>
                    </asp:RadioButtonList>
                </div>
                <asp:Button Text="Send" runat="server" ID="viewThreeSubmit" OnClick="ViewThreeSubmit" />
            </asp:View>
            <asp:View ID="view4" runat="server">
                <p>Tak! - Du har angivet følgende oplysninger i vores spørgeskema:</p>
                <asp:Panel ID="Panel1" CssClass="resultPanel" runat="server">A: </asp:Panel>
                <asp:Panel ID="Panel2" CssClass="resultPanel" runat="server">B: </asp:Panel>
                <asp:Panel ID="Panel3" CssClass="resultPanel" runat="server">C: </asp:Panel>
            </asp:View>
        </asp:MultiView>
    </div>
    </form>
</body>
</html>